<div class="modal fade" id="mymodal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true">
        <div class="modal-dialog modal-lg modal-dialog-centered" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="exampleModalLongTitle">
                        分配库存
                        <br/>
                        <button type="button" class="btn btn-primary">
                            可分配库存
                            <span class="badge badge-light total_stock">4</span>
                        </button>
                        <button type="button" class="btn btn-info">
                            已分配库存
                            <span class="badge badge-light assigned_stock">9</span>
                            <span class="sr-only">unread messages</span>
                        </button>
                    </h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <table id="example1" class="table table-bordered table-striped">
                        <thead>
                        <tr>
                            <th>序号</th>
                            <th>酒店名称</th>
                            <th>商品名称</th>
                            <th>商品图片</th>
                            <th>酒店现有库存</th>
                            <th>增加/减少（减少填负数)</th>
                            <th>变更后库存</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr data-goods_id="" data-hotel_id="">
                            <td></td>
                            <td></td>
                            <td></td>
                            <td><img src="" alt=""></td>
                            <td></td>
                            <td><input type="text" name="update_stock" value="0"></td>
                            <td><input type="text" disabled="true" value="0"></td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="7" id="pagecontainer"></td>
                        </tr>
                        </tfoot>
                    </table>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary modal-confirm">确认</button>
                </div>
            </div>
        </div>
</div>